/*
 * @Author: 噜噜雯雯 2199987619@qq.com
 * @Date: 2025-09-04 16:43:34
 * @LastEditors: 噜噜雯雯 2199987619@qq.com
 * @LastEditTime: 2025-09-09 16:16:52
 * @FilePath: \linePatrol\vue-element-plus-admin\src\api\securcheck\CompanyLedger.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import service from '@/axios/http'
import { TableIResponse } from '@/utils/Api'
import { tbUserGasdev } from './type'
export class SecurChecktbUserGasdevApi {
  //查询燃气设备台账列表
  async GettbUserGasdev(params: any): Promise<TableIResponse<tbUserGasdev[]>> {
    const result = (await service.get('/api/securcheck/tbUserGasdev/list', {
      params
    })) as unknown as any
    return result
  }
  //查询燃气设备台账列表详情
  async GettbUserGasdevById(uuid: string | undefined): Promise<tbUserGasdev> {
    const result = (await service.get(`/api/securcheck/tbUserGasdev/${uuid}`)) as unknown as any
    const { code, data } = result
    if (code == 200) {
      return data
    } else {
      return {}
    }
  }
}
export default new SecurChecktbUserGasdevApi()
